package com.qsmx.store.app.entity.login;

import java.util.List;

public class MachineEntity {
    /**
     * businessDate : 2022-03-25
     * deptId : 19
     * deptName : 南京测试一店
     * machineCode : 167-01
     * machineName : 淘宝机1号
     * shiftList : [{"shiftCode":"A班","shiftStatus":0},{"shiftCode":"B班","shiftStatus":0}]
     * userList : [{"id":1,"nickName":"管理员","phone":"13951708432","username":"admin"},{"id":2,"nickName":"测试","phone":"19999999999","username":"test"},{"id":3,"nickName":"亲古","phone":"13333331231","username":"tjg"},{"id":4,"nickName":"一一","phone":"13112345678","username":"tao"},{"id":5,"nickName":"nono","phone":"13312333323","username":"me"},{"id":6,"nickName":"11111","phone":"13311111111","username":"tttttt"},{"id":7,"nickName":"陈长征","phone":"19941522420","username":"chen"}]
     */
    private String businessDate;
    private int deptId;
    private String deptName;
    private String machineCode;
    private String machineId;
    private String machineName;
    private List<ShiftListBean> shiftList;
    private List<UserListBean> userList;

    public String getBusinessDate() {
        return businessDate;
    }

    public void setBusinessDate(String businessDate) {
        this.businessDate = businessDate;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public List<ShiftListBean> getShiftList() {
        return shiftList;
    }

    public void setShiftList(List<ShiftListBean> shiftList) {
        this.shiftList = shiftList;
    }

    public List<UserListBean> getUserList() {
        return userList;
    }

    public void setUserList(List<UserListBean> userList) {
        this.userList = userList;
    }

    public static class ShiftListBean {
        /**
         * shiftCode : A班
         * shiftStatus : 0
         */

        private String shiftCode;
        private int shiftStatus;

        public String getShiftCode() {
            return shiftCode;
        }

        public void setShiftCode(String shiftCode) {
            this.shiftCode = shiftCode;
        }

        public int getShiftStatus() {
            return shiftStatus;
        }

        public void setShiftStatus(int shiftStatus) {
            this.shiftStatus = shiftStatus;
        }
    }

    public static class UserListBean {
        /**
         * id : 1
         * nickName : 管理员
         * phone : 13951708432
         * username : admin
         */

        private int id;
        private String nickName;
        private String phone;
        private String username;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }
    }
}
